<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>${title!}-${author!}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" href="style/styles.css" rel="Stylesheet"/>
</head>

<body>
<div id="toc">
    <h2>
        ${title!}
    </h2>
    <ul>
    <#list chapters as x>
        <li><a href="page${(x.id)!}.html#ch2">${(x.title)!}</a></li>
    </#list>
    </ul>
</div>
<div class="pagebreak"></div>
</body>
</html>
